package com.sk.bilibili.mapper;

import com.sk.api.annotations.Mapper;
import com.sk.bilibili.bean.Note;
import com.sk.bilibili.dto.Res;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

@Mapper
public interface NoteMapper {

    @GET("note/getNote")
    Observable<Res<Note>> getNote(@Query("id") Integer id);

}